package com.outfood.common.common;

/**
 * @Author huisonglin
 * @Description
 * @PackageName intelligent-vehicle-platform
 * @Package com.intelligent.common
 * @Date 2023/7/20 16:45
 * @Version 1.0
 */
public class HubSelectUtil {

    private  static ThreadLocal<String> threadLocal = new ThreadLocal<>();

    public static void setUrl(String url){
        threadLocal.set(url);
    }

    public static String getUrl(){
        return threadLocal.get();
    }

    public static void  remove(){
        threadLocal.remove();
    }

}
